package com.zhentao.mapper;

import com.zhentao.pojo.DoctorSchedule;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author ls
* @description 针对表【doctor_schedule】的数据库操作Mapper
* @createDate 2025-05-08 18:45:40
* @Entity com.zhentao.pojo.DoctorSchedule
*/
public interface DoctorScheduleMapper extends BaseMapper<DoctorSchedule> {
//    根据doctor_id获取排班列表
    @Select("select * from doctor_schedule where doctor_id = #{doctorId}")
    List<DoctorSchedule> selectByDoctorId(Integer doctorId);
}




